import App from "./App.vue";
import { Vue } from "@some21/vue-class-decorator";
import { setBodyLoaded } from "@/framework/base-ui";
// import { doApiSomething } from "./test";

new Vue({
  render: h => h(App),
  async mounted() {
    await Vue.nextTick();
    setBodyLoaded();
  },
}).$mount("#app");

// // keyof
// const funcTypes = {
//   insert: () => {},
//   update: () => {},
//   remove: () => {},
//   query: () => {},
// };

// // let timer: typeof funcTypes;

// // let timer2: typeof timer;

// // if (typeof timer2 === "number") {
// // }

// function getFuncType(typeKey: keyof typeof funcTypes) {
//   return funcTypes[typeKey];
// }
// getFuncType("insert");

// doApiSomething();
